package com.swanclouds.api.chassis;

import com.swanclouds.common.RestService;
import com.swanclouds.redfish.chassis.domain.NetworkPortsModel;

import java.util.List;

/**
 * Author: HuangFuYuHui
 * Title: NetworkPortsService
 * Description: TODO
 * Date: 2022/7/22 15:33
 */
public interface NetworkPortsService extends RestService {

    /**
     * 查询指定网络端口集合资源信息
     * @param networkAdapterId 网络适配器Id
     * @param networkPortId 网络端口Id
     * @return com.swanclouds.model.chassis.NetworkPorts
     **/
    NetworkPortsModel get(String networkAdapterId, String networkPortId);

    /**
     * 查询指定网络适配器的网络端口集合资源信息
     * @param networkAdapterId 网络适配器Id
     * @return List
     */
    List<NetworkPortsModel> list(String networkAdapterId);
    /**
     * 查询网络端口集合资源信息
     * @return java.util.List
     **/
    List<NetworkPortsModel> listAll();
}
